﻿<UserControl x:Class="CivilleWP7.Views.Controls.TaskTileControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">
    
    <Grid x:Name="LayoutRoot">
        <Grid Name="ContentGrid">
            <Grid.RowDefinitions>
                <RowDefinition Height="33.3*" />
                <RowDefinition Height="23.3*" />
                <RowDefinition Height="33.3*" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="40*" />
                <ColumnDefinition Width="40*" />
                <ColumnDefinition Width="20*" />
            </Grid.ColumnDefinitions>
            <toolkit:PerformanceProgressBar Name="progressBar" IsIndeterminate="True" Grid.ColumnSpan="3" Grid.RowSpan="3" />
            <Border Name="TitleBorder" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="1">
                <TextBlock Name="TitleTextBlock" TextWrapping="Wrap" TextTrimming="WordEllipsis" Style="{StaticResource PhoneTextNormalStyle}"/>
            </Border>
            <Border Name="TypeBorder" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="1">
                <TextBlock Name="TypeTextBlock" TextWrapping="Wrap" FontStyle="Italic" TextTrimming="WordEllipsis" Style="{StaticResource PhoneTextSmallStyle}"/>
            </Border>
            <Border Name="ScoreBorder" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="2" Grid.Column="0">
                <TextBlock Name="ScoreTextBlock" Style="{StaticResource PhoneTextLargeStyle}"/>
            </Border>
            <Border Name="LogoBorder" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="1" Grid.Column="1" Grid.RowSpan="2" Grid.ColumnSpan="2">
                <Image Name="Logo" Opacity="1" />
            </Border>
         </Grid>
    </Grid>
</UserControl>
